Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Remote Joiner #4098

Merged
merged 45 commits into from
Jun 29, 2023
Merged

feat: Remote Joiner #4098

merged 45 commits into from
Jun 29, 2023

Conversation

carlos-r-l-rodrigues
Copy link
Contributor

Remote Joiner

@carlos-r-l-rodrigues carlos-r-l-rodrigues requested a review from a team as a code owner May 15, 2023 06:00
@changeset-bot
Copy link

changeset-bot bot commented May 15, 2023

🦋 Changeset detected

Latest commit: a432608

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@medusajs/orchestration Patch
@medusajs/types Patch
@medusajs/utils Patch
@medusajs/medusa-oas-cli Patch
@medusajs/oas-github-ci Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented May 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Jun 29, 2023 1:28pm

Copy link
Member

@adrien2p adrien2p left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice piece of work man :)

I have one general thought:
Since we are adding another deps to the utils package (graphql) I think we should consider creating separated packages such as

  • utils
  • typeorm
  • graphql

The utils should not have any restricting dependencies (typeorm, awilix, graphql) and the other packages can include the types and utils that depend on those dependencies and are very tight. wdyt?

cc @olivermrbl @riqwan @fPolic

Copy link
Contributor

@riqwan riqwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really nice PR! 🎉

I'll have a look again later.

Copy link
Contributor

@olivermrbl olivermrbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thought(non-blocking): Would it make sense to have the remote joiner live in its own package? Otherwise, we are bloating the bundle size of @medusajs/utils with graphql and ultimately the @medusajs/modules-sdk which is used to initialize modules.

I realise the package is not huge, but with the Edge Runtime limitations in mind + all the other stuff we'll be adding, even small packages make a difference.

Update: I see @adrien2p has commented on something related already. Let's discuss early next week :)

@olivermrbl
Copy link
Contributor

Also, this is an insane piece of work @carlos-r-l-rodrigues 🚀

Copy link
Contributor

@olivermrbl olivermrbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 🚢 just need to resolve conflicts

@olivermrbl olivermrbl changed the title Feat - Remote Joiner feat: Remote Joiner Jun 29, 2023
@olivermrbl
Copy link
Contributor

@adrien2p - wdyt, ready to merge?

Copy link
Member

@adrien2p adrien2p left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@olivermrbl olivermrbl merged commit 499c347 into develop Jun 29, 2023
@github-actions github-actions bot mentioned this pull request Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants